package com.yunhe.spring;

import org.springframework.aop.ThrowsAdvice;

public class ThrowsAspect implements ThrowsAdvice{
	public void afterThrowing(NullPointerException ex){
		System.out.println("出现空指针异常");
	}
}
